import {Component} from '@angular/core';
import {IonicPage, NavController} from 'ionic-angular';
import {TabsPage} from "../tabs/tabs";

@IonicPage()
@Component({
    selector: 'page-contact',
    templateUrl: 'contact.html'
})
export class ContactPage {
    constructor(public navCtrl: NavController, public tabsPage: TabsPage) {

    }

    //todo Tab控制
    openPage() {
        this.tabsPage.openPage({name: 'HomePage', index: 0})
    }
}
